<?php foreach($this->question_list as $key => $val) {?>

		<li  id = "q_list_li">
        <div class="q_list_left">
            <a  href="<?php echo $val['url']?>"><img id = "q_list_img" src="<?php echo $val['question_img_url']?>" class="screenshot" alt="<?php echo $val['title']?>" style ="width:180px;height:72px;"></a>
        </div>
        <div class="q_list_right">
           <p>
            <h4>
                <a href="<?php echo $val['url']?>"><?php echo $val['title']?></a>               
                 <span class="less-important small"><?php echo $val['question_url']?></span>
            </h4>
            </p>
            <p>
            <a href="<?php echo $val['category_url']?>"><?php echo $val['category_info']['title']?></a> 
            </p>
            <p>           ·
            <span class="less-important">简介：</span>  <?php echo $val['question_detail']?>     
            </p>
            <p> 
             <?php foreach ($val['topics'] AS $t_key => $t_val) { ?> <a href="topic/<?php echo $t_val['url_token']; ?>" class="i_glotopic user_msg" data-message="&uid=<?php echo $t_val['topic_id']; ?>&card=topic"><?php echo $t_val['topic_title']; ?></a><?php } ?></h4>
             </p>
          </div>
           
        <div class="clear"></div>
    </li>

<!-- -
<div class="q_mainElem i_prl">
	<h4><a href="question/<?php echo $val['question_id']; ?>#reply<?php echo $val['answer_count']; ?>"><?php echo $val['title']; ?></a>
	
	<?php foreach ($val['topics'] AS $t_key => $t_val) { ?> <a href="topic/<?php echo $t_val['url_token']; ?>" class="i_glotopic user_msg" data-message="&uid=<?php echo $t_val['topic_id']; ?>&card=topic"><?php echo $t_val['topic_title']; ?></a><?php } ?></h4>
    
    <p class="q_elems"><?php if ($_GET['category'] != $val['category_id'] AND $val['category_info']['title']) { ?><span class="q_banner i_line"><em class="q_ex i_line i_gray"><a href="home/explore/category-<?php echo $val['category_info']['url_token']; ?>"><?php echo $val['category_info']['title']; ?></a></em></span> • <?php } ?><?php if ($val['answer_count'] > 0) { ?><?php if ($val['answer']['anonymous']) { ?><a href="javascript:;">匿名用户</a><?php } else { ?><a href="people/<?php echo $val['answer']['user_info']['url_token']; ?>"  class="user_msg" data-message="&uid=<?php echo $val['answer']['user_info']['uid']; ?>&card=user"><?php echo $val['answer']['user_info']['user_name']; ?></a><?php } ?> 回复了站点  • <?php echo date_friendly($val['update_time']); ?> • <?php echo $val['focus_count']; ?> 人关注 • <?php echo $val['view_count']; ?> 次浏览<?php } else { ?><?php if ($val['anonymous'] == 0) { ?><a href="people/<?php echo $val['user_info']['url_token']; ?>" class="user_msg" data-message="&uid=<?php echo $val['user_info']['uid']; ?>&card=user"  ><?php echo $val['user_info']['user_name']; ?></a><?php } else { ?><a href="javascript:;">匿名用户</a><?php } ?> 发起了站点 • <?php echo date_friendly($val['add_time']); ?> • <?php echo $val['focus_count']; ?> 人关注 • <?php echo $val['view_count']; ?> 次浏览 <?php } ?></p>
    
    <span class="q_reply i_pas<?php if ($val['best_answer']) { ?> i_small q_winner<?php } ?><?php if ($val['answer_count'] == 0) { ?> q_zero<?php } ?>"><em title="该站点已有 <?php echo $val['answer_count']; ?> 个回复"><?php echo $val['answer_count']; ?></em>回复</span>
    
    <?php if ($val['answer_count'] > 0) { ?>
    <?php if ($val['answer']['anonymous'] == 0) { ?><a class="q_user i_alpHover i_pas" href="people/<?php echo $val['answer']['user_info']['url_token']; ?>"><img src="<?php echo get_avatar_url($val['answer']['user_info']['uid'], 'mid'); ?>" class="user_msg" data-message="&uid=<?php echo $val['answer']['user_info']['uid']; ?>&card=user" /></a><?php } else { ?><a class="q_user i_alpHover i_pas" href="javascript:;"><img src="<?php echo G_STATIC_URL; ?>/common/avatar-mid-img.jpg" alt="匿名用户" title="匿名用户" /></a><?php } ?>
    <?php } else { ?>
    <?php if ($val['anonymous'] == 0) { ?><a class="q_user i_alpHover i_pas" href="people/<?php echo $val['user_info']['url_token']; ?>"><img src="<?php echo get_avatar_url($val['user_info']['uid'], 'mid'); ?>" class="user_msg" data-message="&uid=<?php echo $val['user_info']['uid']; ?>&card=user" /></a><?php } else { ?><a class="q_user i_alpHover i_pas" href="javascript:;"><img src="<?php echo G_STATIC_URL; ?>/common/avatar-mid-img.jpg" alt="匿名用户" title="匿名用户" /></a><?php } ?>
    <?php } ?>
</div> -->
<?php } ?>